org.eclipse.vtp.framework.webservices.configurations
Class WebServiceInputConfiguration

java.lang.Object
  extended by org.eclipse.vtp.framework.webservices.configurations.WebServiceInputConfiguration
All Implemented Interfaces:
IConfiguration, WebServiceConstants

public class WebServiceInputConfiguration
extends java.lang.Object
implements IConfiguration, WebServiceConstants

A configuration for a web service call argument.

Author:
Lonnie Pryor

Field Summary
static int TYPE_NONE
          No requirement exists for this criteria.
static int TYPE_STATIC
          Use a static value to match against.
static int TYPE_VARIABLE
          Use the value of a variable to match against.
 
Fields inherited from interface org.eclipse.vtp.framework.webservices.configurations.WebServiceConstants
NAME_ENDPOINT, NAME_INPUT, NAME_LOCATOR, NAME_MAPPING, NAME_NAME, NAME_OPERATION, NAME_PORT, NAME_RESULT_CARDINALITY, NAME_RESULT_NAME, NAME_RESULT_TYPE, NAME_TYPE, NAME_VALUE, NAME_WEB_SERVICE, NAMESPACE_URI
 
Constructor Summary
WebServiceInputConfiguration()
          Creates a new WebServiceInputConfiguration.
 
Method Summary
 java.lang.String getName()
          Returns the name of the field to map to.
 int getType()
          Returns the type of mapping to perform.
 java.lang.String getValue()
          Returns the value to use for the mapping.
 void load(org.w3c.dom.Element configurationElement)
          Loads the configuration information from the specified XML element.
 void save(org.w3c.dom.Element configurationElement)
          Saves the configuration information into the supplied XML element.
 void setName(java.lang.String name)
          Sets the name of the field to map to.
 void setType(int type)
          Sets the type of mapping to perform.
 void setValue(java.lang.String value)
          Sets the value to use for the mapping.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_NONE

public static final int TYPE_NONE
No requirement exists for this criteria.

See Also:
Constant Field Values

TYPE_VARIABLE

public static final int TYPE_VARIABLE
Use the value of a variable to match against.

See Also:
Constant Field Values

TYPE_STATIC

public static final int TYPE_STATIC
Use a static value to match against.

See Also:
Constant Field Values
Constructor Detail

WebServiceInputConfiguration

public WebServiceInputConfiguration()
Creates a new WebServiceInputConfiguration.

Method Detail

getName

public java.lang.String getName()
Returns the name of the field to map to.

Returns:
The name of the field to map to.

setName

public void setName(java.lang.String name)
Sets the name of the field to map to.

Parameters:
name - The name of the field to map to.

getType

public int getType()
Returns the type of mapping to perform.

Returns:
The type of mapping to perform.

setType

public void setType(int type)
Sets the type of mapping to perform.

Parameters:
type - The type of mapping to perform.

getValue

public java.lang.String getValue()
Returns the value to use for the mapping.

Returns:
The value to use for the mapping.

setValue

public void setValue(java.lang.String value)
Sets the value to use for the mapping.

Parameters:
value - The value to use for the mapping.

load

public void load(org.w3c.dom.Element configurationElement)
Description copied from interface: IConfiguration
Loads the configuration information from the specified XML element.

Specified by:
load in interface IConfiguration
Parameters:
configurationElement - The element to load the configuration from.

save

public void save(org.w3c.dom.Element configurationElement)
Description copied from interface: IConfiguration
Saves the configuration information into the supplied XML element.

Specified by:
save in interface IConfiguration
Parameters:
configurationElement - The element to save the configuration to.